<?php
/**
* @version      1.0.2
* @package	ResMania Cart
* @copyright	Copyright (C) 2009 - 2010. All rights reserved.
* @license	GNU/GPL
* This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License.
* see http://resmania.com/license for more information.
*/
// no direct access
defined('_JEXEC') or die('Restricted access');

$sef = $params->get('resmania_sef_alias');
if ($sef === "" || !$sef){
    $url = JRoute::_('index.php?option=com_resmania&act=Reservations&task=cart', true);
} else {
    $url = JRoute::_($sef.'?act=Reservations&task=cart', true);
}

?>
<center>
    <div class="<?php echo $params->get('moduleclass_sfx') ?>">
        <img alt=""  src="<?php echo JURI::base();?>modules/mod_resmaniacart/tmpl/cart.png" border="0">&nbsp;
        <a href="<?php echo $url;?>"><?php echo JText::_('YOUR_CART'); ?></a>
    </div>
</center>